Welcome Guest | Sign in | Register
Windows Controls - DotNet Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com

Home > Technical Interviews > Computer Science & Engineering > DotNet Programming > Windows Controls Questions and Answers

36. Which class manages the event and layout of all ToolStrip elements?

The ToolStripItem class manages the event and layout of all elements that the ToolStrip control contains.

37. How can you place a border around a picture box?

The PictureBox control offers the BorderStyle property, which can be set to define the style of its border. This property can accept any of the three values from Fixed3D, FixedSingle, or None. These properties can be easily set through code or through the Properties window of the Visual Studio IDE.

38. How do we format numbers, dates, and currencies in a text box?

Each type has a ToString() method that can used to format date, currencies, and numbers. You can also use the String.Format() method to format these things as well. To format dates, use the ToString() member of the DateTime type.

39. What is the use of the Panel control? Does it display at runtime?

Panels acts as a container to group other controls. It is an important control, when you want to show/hide a group of controls and relocate a number of controls simultaneously.

When you generate a new control at runtime, it works as a container control. As we know, it is a container control; therefore, it is not displayed at runtime.

40. Is it possible to add an image on the RadioButton control?

Yes, you can add an image on the RadioButton control by setting the Image property.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.